package com.ruoyi.hazard.domain.qo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("隐患信息查询对象")
public class HazardInfoQo  extends BaseEntity implements Serializable{
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "主键")
    private Long id;
    @ApiModelProperty(value = "搜索名称或者描述")
    private String keyword;
//    @ApiModelProperty(value = "隐患名称")
//    private String name;
    @ApiModelProperty(value = "监狱ID")
    private Long deptId;
    @ApiModelProperty(value = "内设机构")
    private String subDept;
    @ApiModelProperty(value = "隐患类型")
    private String type;
    @ApiModelProperty(value = "隐患等级")
    private String level;
    @ApiModelProperty(value = "监管等级")
    private String superviseLevel;

    @ApiModelProperty(value = "整改状态")
    private Boolean finished;
//    @ApiModelProperty(value = "流转状态（new-新建, auditing-审核中, approved-审核通过, rejected-审核不通过）")
//    private String status;
//    @ApiModelProperty(value = "是否挂起（0-未挂起, 1-已挂起）")
//    private Boolean hangup;

    @ApiModelProperty(value = "检查开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDateStart;
    @ApiModelProperty(value = "检查结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date checkDateEnd;

    @ApiModelProperty(value = "整改完成开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date finishDateStart;
    @ApiModelProperty(value = "整改完成结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date finishDateEnd;

    @ApiModelProperty(value = "整改限期开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deadlineStart;
    @ApiModelProperty(value = "整改限期结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deadlineEnd;

    @ApiModelProperty(value = "隐患通知ID")
    private Long alarmRecordId;

//    @ApiModelProperty(value = "创建开始时间")
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    private Date createTimeStart;
//    @ApiModelProperty(value = "创建结束时间")
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    private Date createTimeEnd;
}
